// 导入需要的样式
import 'element-ui/lib/theme-chalk/index.css'
import './styles/index.scss'
// icon图标的样式引用
// import './assets/fonts/iconfont.css'
// 自定义全局指令
import './directive'
// 导入需要的组件、类库
import Vue from 'vue'
import store from './store'
import router from './router'
import Element from 'element-ui'
import i18n from './lang/lang-set'
import App from './App'
import './plugin'
import './filter'
import './utils/loadBaseComponent'
import Bus from '@/utils/bus'

Vue.prototype.$bus = new Bus()

// 3 Vue组件添加配置
Vue.use(Element)

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
